package com.itheima.sh.c_HomeWork3;

public class UiTeacher extends Staff implements Drawing{
    public UiTeacher() {
    }

    public UiTeacher(String name, String sex, int age) {
        super(name, sex, age);
    }

    //重新绘画接口方法
    @Override
     public void method() {
        System.out.println(getName()+"在设计网页");
    }

    @Override
    public void work() {
        System.out.println(getName()+"在努力加班");
    }
}
